const express = require('express');
const app = express();
const path = require('path');
const fs = require('fs');
const mysql = require('mysql');
app.listen(3000,()=>{console.log('服务器已开启')});
app.use(express.static(__dirname));

app.post('/index',(req,res)=>{
    res.send({code:200,msg:'ok'})
})